package com.it.schoolhomeos.dto;

import com.it.schoolhomeos.entity.Attendance.AttendanceStatus;
import lombok.Data;

import java.time.LocalDate;
import java.util.List;

/**
 * 批量考勤提交数据传输对象
 */
@Data
public class AttendanceBatchDTO {
    
    /**
     * 考勤日期
     */
    private LocalDate date;
    
    /**
     * 学生考勤列表
     */
    private List<StudentAttendanceItem> attendances;
    
    /**
     * 学生考勤项
     */
    @Data
    public static class StudentAttendanceItem {
        /**
         * 学生ID
         */
        private Long studentId;
        
        /**
         * 考勤状态
         */
        private AttendanceStatus status;
        
        /**
         * 备注
         */
        private String remarks;
    }
} 